www.gusucode.com > 落叶冰点万能企业网站内容管理系统 V9.1 > 落叶冰点万能企业网站内容管理系统 V9.1\code\inc\ajaxLIB_no_loader.asp

    <%


'**************************************************************
' 新动软网站管理系统
' 官方网站: http://www.aspcpu.com
' 系统作者: 阮丁远(网名:天下程序)
' Copyright 新动软网站管理系统 版权所有
'**************************************************************


%>

<%if have_added="" then

have_added=1

%>






	






<script language=javascript>
function ppost() {


 var app=navigator.appName;
  var verStr=navigator.appVersion;
  if(app.indexOf('Netscape') != -1) {
  //Netscape浏览器

var cc =document.getElementById("vvv").contentDocument;
//cc2=cc.documentElement.getElementsByTagName("iframe")[7];
//cc3=cc2.contentDocument.documentElement.getElementsByTagName("iframe")[0];
//cc4=cc3.contentDocument.documentElement.getElementsByTagName("body")[0].innerHTML;

document.getElementById("vvv").contentDocument.getElementById("dododo32").submit();

cc4=document.getElementById("vvv").contentDocument.getElementById("info").value;

document.getElementById("connect").value = cc4;
  } 








 if(app.indexOf('Microsoft') != -1) {
    
  //ie浏览器
//cc4=document.frames["vvv"].document.frames[0].document.frames[0].document.body.innerHTML;




document.frames["vvv"].document.all.dododo32.submit();

cc4=document.frames["vvv"].document.all.info.value;

document.getElementById("connect").value = cc4;
  }

else 

{
if (app.indexOf('Netscape') == -1) 

        {   

//cc4=document.frames["vvv"].document.frames[0].document.frames[0].document.body.innerHTML;



document.frames["vvv"].document.all.dododo32.submit();

cc4=document.frames["vvv"].document.all.info.value;

document.getElementById("connect").value = cc4;

       }



}











return true;
}
</script>







<script language=javascript>
function ppost2() {


 var app=navigator.appName;
  var verStr=navigator.appVersion;
  if(app.indexOf('Netscape') != -1) {
  //Netscape浏览器

var cc =document.getElementById("vvv").contentDocument;
cc2=cc.documentElement.getElementsByTagName("iframe")[7];
cc3=cc2.contentDocument.documentElement.getElementsByTagName("iframe")[0];
cc4=cc3.contentDocument.documentElement.getElementsByTagName("body")[0].innerHTML;
document.getElementById("t17").value = cc4;
  } 








 if(app.indexOf('Microsoft') != -1) {
    
  //ie浏览器
//cc4=document.frames["vvv"].document.frames[0].document.frames[0].document.body.innerHTML;




document.frames["vvv"].document.all.dododo32.submit();

cc4=document.frames["vvv"].document.all.info.value;

document.getElementById("t17").value = cc4;
  }

else 

{
if (app.indexOf('Netscape') == -1) 

        {   

//cc4=document.frames["vvv"].document.frames[0].document.frames[0].document.body.innerHTML;



document.frames["vvv"].document.all.dododo32.submit();

cc4=document.frames["vvv"].document.all.info.value;
document.getElementById("t17").value = cc4;

       }



}











return true;
}
</script>










<!-------------------------------------div淡入淡出------------------------>
<script language="javascript">

//div淡入淡出
function AJAXfade(show_or_hide,who){
var who1=document.getElementById(who);

 var app=navigator.appName;
  var verStr=navigator.appVersion;

var appttp=app.indexOf("Microsoft");

 


 if( appttp!= -1) {
      who1.filters.blendTrans.apply();
                 }
      
   

who1.style.visibility=show_or_hide?'':'hidden';
 
    
who1.style.display=show_or_hide?'inline':'none';

 if(appttp != -1) {
      who1.filters.blendTrans.play();


                  }








}
</script>



<!--例子
<span onMouseOver="AJAXfade(1,'dd')" onMouseOut="AJAXfade(0,'dd')">mouse here</span><br>
<div id="dd" style="position:absolute;filter:blendTrans(duration=1); visibility:hidden; background-color:#FFCC66;">需要显示的内容</div>
end例子---------->


<!-------------------------------------end div淡入淡出------------------------->









<!-------------------------------------气泡窗口------------------------>
<%sub AJAXshowSweetTitles1()%>

 <script type="text/javascript" src="ajaxLIB/sweet-titles/js/addEvent.js"></script>
 <script type="text/javascript" src="ajaxLIB/sweet-titles/js/sweetTitles.js"></script>

<link rel="stylesheet" rev="stylesheet" href="ajaxLIB/sweet-titles/css/sweetTitles.css" type="text/css" media="all"/>
<%end sub%>
<!-------------------------------------end 气泡窗口------------------------>



<!-------------------------------------气泡窗口------------------------>
<%sub AJAXshowSweetTitles2()%>

 <script type="text/javascript" src="../ajaxLIB/sweet-titles/js/addEvent.js"></script>
 <script type="text/javascript" src="../ajaxLIB/sweet-titles/js/sweetTitles.js"></script>

<link rel="stylesheet" rev="stylesheet" href="../ajaxLIB/sweet-titles/css/sweetTitles.css" type="text/css" media="all"/>
<%end sub%>
<!-------------------------------------end 气泡窗口------------------------>









<!-------------------------------------XMLHTTP------------------------>

<script language="JavaScript">

function AJAXcreateXMLHttp(){

if (typeof XMLHttpRequest !="undefined"){

return new XMLHttpRequest();
}
else if(window.ActiveXObject){
var aversions=["MSXML2.XMLHttp.5.0","MSXML2.XMLHttp.4.0","MSXML2.XMLHttp.3.0","MSXML2.XMLHttp","Microsoft.XMLHttp"];

for(var i=0;i<aversions.length;i++){
try{
var oxmlhttp=new ActiveXObject(aversions[i]);
return oxmlhttp
}
 catch(oError)
{
}

}

}

throw new Error("XMLHttp创建失败.");
}
</script>
<!-------------------------------------end XMLHTTP------------------------>







<!-------------------------------------XMLDOM------------------------>

<script language="JavaScript">

function AJAXcreateXMLdocument(){

oxmldom=zXmlDom.createDocument();

return oxmldom




}
</script>
<!-------------------------------------end XMLDOM------------------------>





<!-------------------------------------XMLDOM1------------------------>

<script language="JavaScript">

function AJAXcreateXMLdocument1111111111(){



var aversions=["MSXML2.DOMDocument.5.0","MSXML2.DOMDocument.4.0","MSXML2.DOMDocument.3.0","MSXML2.DOMDocument","Microsoft.XmlDom"];

for(var i=0;i<aversions.length;i++){
try{
var oxmldom=new ActiveXObject(aversions[i]);
return oxmldom
}
 catch(oError)
{
}


}
throw new Error("XMLdom创建失败.");
}
</script>
<!-------------------------------------end XMLDOM1------------------------>


<%
end if

%>